package com.hzhk.happyrent.bean.rent;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by soft_zzc on 2017/11/26.
 */

public class ProductListModel extends BaseBean implements Serializable{


    /**
     * errCode : 0
     * message : success
     * data : {"goods":[{"id":"65","goods_code":"SD151231621188-1","goods_name":"iPhone X（全新）","sort_id":"96","brand_id":"12","goods_type":"1","lease":"12","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247890136343.png","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247890527998.png","sort_tit":"手机","price":"399.00","goods_cost_price":"8388.00"},{"id":"64","goods_code":"SD151231605936-1","goods_name":"iPhone 8 Plus（全新）","sort_id":"96","brand_id":"12","goods_type":"1","lease":"12","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247891482564.png","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247891879727.png","sort_tit":"手机","price":"319.00","goods_cost_price":"6688.00"},{"id":"66","goods_code":"SD151231580130-1","goods_name":"iPhone 8（全新）","sort_id":"96","brand_id":"12","goods_type":"1","lease":"12","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247888644501.png","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247888953756.png","sort_tit":"手机","price":"279.00","goods_cost_price":"5888.00"},{"id":"67","goods_code":"SD151231507920-1","goods_name":"iPhone 7 Plus（99新）","sort_id":"96","brand_id":"12","goods_type":"2","lease":"3/6/12","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247887194160.png","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247887699446.png","sort_tit":"手机","price":"259.00","goods_cost_price":"4399.00"},{"id":"68","goods_code":"SD151231299632-1","goods_name":"iPhone 7（99新）","sort_id":"96","brand_id":"12","goods_type":"2","lease":"3/6/12","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247884617229.png","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247885032445.png","sort_tit":"手机","price":"199.00","goods_cost_price":"3899.00"},{"id":"69","goods_code":"SD151231213084-1","goods_name":"iPhone 6s Plus（95新）","sort_id":"96","brand_id":"12","goods_type":"2","lease":"3/6/12","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247883056153.png","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247883564810.png","sort_tit":"手机","price":"149.00","goods_cost_price":"2899.00"},{"id":"72","goods_code":"SD151231085910-1","goods_name":"iPhone 6s（95新）","sort_id":"96","brand_id":"12","goods_type":"2","lease":"3/6/12","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247879221384.png","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247879621494.png","sort_tit":"手机","price":"109.00","goods_cost_price":"2499.00"},{"id":"71","goods_code":"SD151230882314-1","goods_name":"iPhone 6 Plus（95新）","sort_id":"96","brand_id":"12","goods_type":"2","lease":"3/6/12","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247881579214.png","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247882063394.png","sort_tit":"手机","price":"139.00","goods_cost_price":"2599.00"},{"id":"75","goods_code":"SD151230604872-1","goods_name":"iPhone 6（95新）","sort_id":"96","brand_id":"12","goods_type":"2","lease":"3/6/12","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247877291380.png","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247877737096.png","sort_tit":"手机","price":"99.00","goods_cost_price":"2099.00"}]}
     * time : 1513305753
     */

    @SerializedName("errCode")
    private int errCode;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private DataBean data;
    @SerializedName("time")
    private int time;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        @SerializedName("goods")
        private List<GoodsBean> goods;

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class GoodsBean {
            /**
             * id : 65
             * goods_code : SD151231621188-1
             * goods_name : iPhone X（全新）
             * sort_id : 96
             * brand_id : 12
             * goods_type : 1
             * lease : 12
             * goods_image : http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247890136343.png
             * goods_cover_image : http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171205/151247890527998.png
             * sort_tit : 手机
             * price : 399.00
             * goods_cost_price : 8388.00
             */

            @SerializedName("id")
            private String id;
            @SerializedName("goods_code")
            private String goodsCode;
            @SerializedName("goods_name")
            private String goodsName;
            @SerializedName("sort_id")
            private String sortId;
            @SerializedName("brand_id")
            private String brandId;
            @SerializedName("goods_type")
            private String goodsType;
            @SerializedName("lease")
            private String lease;
            @SerializedName("goods_image")
            private String goodsImage;
            @SerializedName("goods_cover_image")
            private String goodsCoverImage;
            @SerializedName("sort_tit")
            private String sortTit;
            @SerializedName("price")
            private String price;
            @SerializedName("goods_cost_price")
            private String goodsCostPrice;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoodsCode() {
                return goodsCode;
            }

            public void setGoodsCode(String goodsCode) {
                this.goodsCode = goodsCode;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getSortId() {
                return sortId;
            }

            public void setSortId(String sortId) {
                this.sortId = sortId;
            }

            public String getBrandId() {
                return brandId;
            }

            public void setBrandId(String brandId) {
                this.brandId = brandId;
            }

            public String getGoodsType() {
                return goodsType;
            }

            public void setGoodsType(String goodsType) {
                this.goodsType = goodsType;
            }

            public String getLease() {
                return lease;
            }

            public void setLease(String lease) {
                this.lease = lease;
            }

            public String getGoodsImage() {
                return goodsImage;
            }

            public void setGoodsImage(String goodsImage) {
                this.goodsImage = goodsImage;
            }

            public String getGoodsCoverImage() {
                return goodsCoverImage;
            }

            public void setGoodsCoverImage(String goodsCoverImage) {
                this.goodsCoverImage = goodsCoverImage;
            }

            public String getSortTit() {
                return sortTit;
            }

            public void setSortTit(String sortTit) {
                this.sortTit = sortTit;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getGoodsCostPrice() {
                return goodsCostPrice;
            }

            public void setGoodsCostPrice(String goodsCostPrice) {
                this.goodsCostPrice = goodsCostPrice;
            }
        }
    }
}
